16. Quiz

How does the additive property of log returns benefit the reward function?

SOLUTION: It allows the cumulative return from a series of trades to be calculated accurately.

What is a key consideration when adjusting buy and hold rewards for an RL trading agent?

SOLUTION: Adjustments should be done iteratively to observe their impact on the agent's behavior.

How does the ε-greedy strategy influence the action selection process?

SOLUTION: It balances exploration and exploitation by choosing a random action with probability epsilon.

What is the purpose of the experience replay function in the training process of a DQN model?

SOLUTION: To update the DQN model by learning from past experiences

What does the act function return during the training process?

SOLUTION: An action based on the current state

What is the role of epsilon decay in the reinforcement learning training process?

SOLUTION: To reduce the probability of selecting random actions as the model learns

What is the purpose of setting a random seed in the training process?

SOLUTION: To ensure that random elements of training, such as actions and experiences, are consistent across runs

How can you determine if your trained trading model is overfit to the training data?

SOLUTION: By evaluating the profitability of trades on a test dataset